import { createPinia } from 'pinia'
import { useAppStore, useAppStoreWithOut } from './modules/app.js'
import { useUserStore, useUserStoreWithOut } from './modules/user.js'
import { useTagsViewStore, useTagsViewStoreWithOut } from './modules/tagsView.js'
import { usePermissionStore, usePermissionStoreWithOut } from './modules/permission.js'
import { useSettingsStore, useSettingsStoreWithOut } from './modules/settings.js'

const store = createPinia()

export {
  store,
  useAppStore,
  useAppStoreWithOut,
  useUserStore,
  useUserStoreWithOut,
  useTagsViewStore,
  useTagsViewStoreWithOut,
  usePermissionStore,
  usePermissionStoreWithOut,
  useSettingsStore,
  useSettingsStoreWithOut
}
